package edu.sctu.zhuyingzhi.month201505.day20150514.mapTest;

/**
 * Created by user13 on 2015/5/14.
 */
public class Worker {
    private int age;
    private String name;
    private String sex;
    private double salary;

    public Worker(int age,String name,String sex,double salary){
        this.age = age;
        this.name = name;
        this.salary = salary;
        this.sex = sex;

    }

    public int getAge(){
        return age;
    }

    public String getName(){
        return name;
    }

    public double getSalary(){
        return salary;
    }

    public String getSex(){ return sex;}

}



